package com.kexio.user.service;

import java.io.IOException;

import com.kexio.common.dto.PageResponse;
import com.kexio.user.dto.LoginLogDTO;
import com.kexio.user.dto.OperationLogDTO;
import com.kexio.user.dto.SecurityLogQueryDTO;

import jakarta.servlet.http.HttpServletResponse;

public interface SecurityLogService {

    PageResponse<LoginLogDTO> queryLoginLogs(SecurityLogQueryDTO query);

    PageResponse<OperationLogDTO> queryOperationLogs(SecurityLogQueryDTO query);

    void exportLoginLogs(SecurityLogQueryDTO query, HttpServletResponse response) throws IOException;

    void exportOperationLogs(SecurityLogQueryDTO query, HttpServletResponse response) throws IOException;

    void clearLoginLogs();

    void clearOperationLogs();
}


